package us.wili.dev.client.service;

import us.wili.dev.client.model.req.AddOrderReq;
import us.wili.dev.client.model.req.OrderReq;
import us.wili.dev.client.model.rsp.OrderDetaRsp;
import us.wili.dev.client.model.rsp.OrderRsp;
import us.wili.dev.client.model.rsp.ShopcartRsp;
import us.wili.dev.model.entity.Order;
import us.wili.dev.service.BaseOrderService;

import java.util.List;

public interface ClientOrderService extends BaseOrderService {
    List<OrderRsp> myorder(OrderReq req);

    List<ShopcartRsp> WaitingForTheBuy(Long id);

    List<ShopcartRsp> WaitingForThedelivery(Long id);

    List<ShopcartRsp> WaitingForTheclosed(Long id);

    OrderDetaRsp WaitingForTheBuydeta(Long id);

    void deleteorder(Long id);

    Order insertorder(AddOrderReq req);


}
